<!--
 * @Description: 
 * @Version: 1.0.0
 * @Date: 2022-04-11 10:16:14
-->
<template>
    <div class="captcha"></div>
</template>
  
<script setup>
import { defineProps } from "vue";
const props = defineProps({
    captchaConfig: Object
});
if (props.captchaConfig) {
    window.initGeetest4(
        props.captchaConfig.config,
        props.captchaConfig.handler
    );
}

</script>